New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commandbar-launcher

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commandbar-launcher

commandbar-launcher

  • 1.1.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
increased by6.92%
Maintainers
2
Weekly downloads
 
Created
Source

commandbar-launcher

npm version package size downloads dependencies

This component is a launcher to open CommandBar. It looks like a search bar and can be slotted into any react app. On click, it'll open the CommandBar.

Installation

  • Run npm install commandbar-launcher.

API

NameTypeDescriptionDefault
textstring or HTMLElementThe element to render in the launcherFind anything [ctrl+k]
styleCSSPropertiesStyle overrides for the launcher{}

Examples

Default usage:

import Launcher from 'commandbar-launcher';
import "commandbar-launcher/assets/index.css";

export const MyLauncher = () => {
  return <Launcher />;
}

Example with changed styles:

<Launcher style={{ fontWeight: 700, textAlign: "center", background: "black", color: "white" }} />

Example with changed text:

<Launcher text={<div style={{color:'purple'}}>Click to search in this app</div>} />

Keywords

FAQs

Package last updated on 17 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc